package org.computate.form;

import java.util.ArrayList;
import java.util.List;

import org.computate.form.subform.PossibleTransitStop;
import org.computate.model.item.TransitDay;
import org.computate.model.item.TransitHour;
import org.computate.model.item.TransitNeed;

public class TransportationSurvey extends ComputateForm {
	
	public String getDisplayName() { return "Request Appointment"; }
	
	private TransitNeed transitNeeds;
	private List<PossibleTransitStop> possibleTransitStops = new ArrayList<PossibleTransitStop>();
	private List<TransitHour> transitHours = new ArrayList<TransitHour>();
	private List<TransitDay> transitDays = new ArrayList<TransitDay>();
	private String otherHours;
	private String comments;
	
	public TransportationSurvey() {
		super("Ucon Transportation Survey");
		addParagraph("Ucon Resident,");
		addParagraph("Please take a few minutes to answer the following questions about your personal/household transporation needs. Your answers will help the City of Ucon and Targhee Regional Public Transportation Authority (TRPTA) better serve the transportation needs of Ucon residents.");
		addField("transitNeeds", "Do you think there is a need for a transit system in the Ucon area?").setNoneLabel("None of these");
		addField("possibleTransitStops", "Please list places or possible bus stop locations in Ucon that you or a member of your household would like TRPTA to serve.");
		addField("transitDays", "What do you think the days of operation should be?");
		addField("transitHours", "What should the hours of transportation be?");
		addField("otherHours", "Other hours (please specify):");
		addField("comments", "Additional Comments:").setTextarea(true);
	}

	public TransitNeed getTransitNeeds() {
		return transitNeeds;
	}

	public void setTransitNeeds(TransitNeed transitNeeds) {
		this.transitNeeds = transitNeeds;
	}

	public List<PossibleTransitStop> getPossibleTransitStops() {
		return possibleTransitStops;
	}

	public void setPossibleTransitStops(
			List<PossibleTransitStop> possibleTransitStops) {
		this.possibleTransitStops = possibleTransitStops;
	}

	public List<TransitHour> getTransitHours() {
		return transitHours;
	}

	public void setTransitHours(List<TransitHour> transitHours) {
		this.transitHours = transitHours;
	}

	public List<TransitDay> getTransitDays() {
		return transitDays;
	}

	public void setTransitDays(List<TransitDay> transitDays) {
		this.transitDays = transitDays;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getOtherHours() {
		return otherHours;
	}

	public void setOtherHours(String otherHours) {
		this.otherHours = otherHours;
	}
}
